var verify_suggest_no_price_by_category = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_suggest_no_price_by_category"}');

var suggest_no_price_by_category_flag_fr = false;
var suggest_no_price_by_category_flag = false;

if (!isNull(retail_tax) && !isNull(frPcSkuInfo_price_change_detail_result)) {
    func_suggest_no_price_by_category_fr().forEach(function (s) {
        if (!suggest_no_price_by_category_flag_fr && s == category_nbr) {
            suggest_no_price_by_category_flag_fr = true;
        }
    })
    func_suggest_no_price_by_category().forEach(function (s) {
        if (!suggest_no_price_by_category_flag && s == category_nbr) {
            suggest_no_price_by_category_flag = true;
        }
    })
}
if (suggest_no_price_by_category_flag_fr || suggest_no_price_by_category_flag) {
    verify_suggest_no_price_by_category.CODE = 1;
    verify_suggest_no_price_by_category.ACTION = 'risk';
    if (suggest_no_price_by_category_flag_fr) {
        verify_suggest_no_price_by_category.MSG = '14天内已更改价格' + frPcSkuInfo_price_change_detail_result.split(',').length + '次，变价频率过高，不建议变价';
    } else {
        verify_suggest_no_price_by_category.MSG = '180天内已更改价格' + frPcSkuInfo_price_change_detail_result.split(',').length + '次，变价频率过高，不建议变价';
    }
}

JSON.stringify(verify_suggest_no_price_by_category);